#ifndef __BSP_UART_H
#define __BSP_UART_H

#include "imx6u.h"
#include "stdio.h"

void uart1_io_init(void);

void uart_init(UART_Type* UART);

void uart_write_char(UART_Type* UARTx , char *CHAR);

char uart_read_char(UART_Type* UARTx );

void uart_write_spring(UART_Type* UARTx , char *CHAR);

void uart1_int_init(void *usrparam);

void uart1_irqhandler(unsigned int gicciar, void *param);

 void putc(unsigned char c);
 unsigned char getc(void);
 int raise(void);

#endif 